/*
 * config.cpp
 *
 *  Created on: Jan 7, 2009
 *      Author: yospaly
 */
#include <wx/wx.h>
#include <wx/arrimpl.cpp>
#include <wx/ffile.h>
#include <wx/stdpaths.h>
#include <wx/filename.h>

#include "config.h"

Config::Config() : wxRegConfig(_T("Citrus")) {
    /* const wxString& _logfile_path = wxString::Format(_T("%s%c%s"),
            wxStandardPaths::Get().GetUserDataDir().c_str(),
            wxFileName::GetPathSeparator(),
            _T("citrus-setup.log")
    );

    wxFileName::Mkdir(wxStandardPaths::Get().GetUserDataDir(), 0777, wxPATH_MKDIR_FULL);

    logfile.Open(_logfile_path, _T("w+"));
    wxLog* logger = new wxLogStderr(logfile.fp());
    */
    // logger->SetLogLevel(wxLOG_Debug);
    // wxLog::SetLogLevel(wxLOG_Debug);

    // wxLog::SetActiveTarget(logger);
}

Config::~Config() {
	// TODO Auto-generated destructor stub
}

Config* Config::self = NULL;
